Re: Images in Database - Mailing list pgsql-novice

From M. Bastin
Subject Re: Images in Database
Date
Msg-id a06020417bc8b8059b85f@[192.168.0.101]
Whole thread Raw
In response to Re: Images in Database  (Reshat Sabiq <sabiq@purdue.edu>)
Responses Re: Images in Database
List pgsql-novice
At 12:34 PM -0600 3/27/04, Reshat Sabiq wrote:
>I think unless the DB provides some image-searching capabilities,
>it's better to store them as paths to save the space. A lot of
>storage will be wasted otherwise. Isn't that so?

PostgreSQL has no limit on storage except for the hard disk's limit.
You shouldn't worry about that.

The trouble with paths is that you must be able to resolve them from
any client that connects to your database.   It's also harder to move
the entire database afterwards if you must, or to otherwise
reorganize your directories.

Having everything in your database is much much cleaner and will save
you a lot of headache when you modify your solution in a next
programming round.

Cheers,

Marc

pgsql-novice by date:

Previous
From: Reshat Sabiq
Date:
Subject: Re: Images in Database
Next
From: "Rod K"
Date:
Subject: Re: Images in Database